package fr.unice.miage.m2.webservices.cl.xbay;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

 
import javax.servlet.ServletContextEvent;
import javax.servlet.ServletContextListener;
import javax.servlet.annotation.WebListener;

/**
 * Web application lifecycle listener.
 *
 * @author Utilisateur
 */
@WebListener()
public class DataBaseServletListener implements ServletContextListener {

    @Override
    public void contextInitialized(ServletContextEvent sce) {
        System.out.println("Context initialized");
        //throw new UnsupportedOperationException("Not supported yet.");
    }

    @Override
    public void contextDestroyed(ServletContextEvent sce) {
       //throw new UnsupportedOperationException("Not supported yet.");
    }
}
